/**
 * Copyright (C), 2019-2020, 宇信融汇
 * FileName: CpuImpl
 * Author:   xbliu
 * Date:     2020/6/29 16:11
 * Description: 实现CPU接口
 * History:
 * <author>          <time>          <version>          <desc>
 * xbliu           修改时间           版本号              描述
 */
package c_007.interfacedemo1;

/**
 * @Classname CpuImpl
 * @Description TODO
 * @Date 2020/6/29 16:11
 * @Created by xbliu
 */
public class CpuImpl implements  Cpu{
    public String brand;
    public String hz;

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public void setHz(String hz) {
        this.hz = hz;
    }

    @Override
    public String getBrand() {
        return brand;
    }

    @Override
    public String getHz() {
        return hz;
    }
}
